<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>left float 实现</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .div{
            height: 500px;
        }
        .div:nth-child(2){
            height: 600px;
        }
        aside{
            float: left;
            width: 150px;
            background-color: cyan;
        }
        main{
            /*margin-left: 150px;*/
            /*padding-left: -150px;*/
            background-color: purple;
        }
    </style>
</head>
<body>

<aside class="div">wwuwuuw</aside>
<main class="div">hahha</main>
</body>
</html>
